<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>惊喜</title>
    <link rel="stylesheet" href="../../static/css/common/adaptor.css">
    <link rel="stylesheet" href="../../static/css/common/common.css">
    <link rel="stylesheet" href="../../static/css/point/theme.css">
</head>
<body>
    <div class="layout">
        <div class="themeMsg">
            <!--动态渲染-->
        </div>
        <div class="productList">
            <!--动态渲染-->
        </div>
    </div>
    <script type="text/template" id="themeMsg">
        <div class="header">
            <img src="{{themeDetail.midPic}}" alt="">
        </div>
        <div class="themeText">
            <h1>{{themeDetail.title}}</h1>
            <div class="count"><span>{{themeDetail.count}}</span>款商品抢购中</div>
            <div class="msg">
                <p>{{themeDetail.content}}</p>
            </div>
        </div>
    </script>
    <script type="text/template" id="productList">
        {{each plist as item index}}
        <div class="productItem" data-id={{item.id}}>
            <div class="productImg">
                <img src="{{item.midPic}}" alt="">
            </div>
            <div class="pMsg">
                <h3>{{item.productName}}</h3>
                <div class="price"><span>￥</span>{{item.price}}</div>
                <div class="btn"><button class="checkDetail">查看详情</button></div>
            </div>
        </div>
        {{/each}}
        <div class="end"><img src="../../static/img/theend@3x.png" alt=""></div>
    </script>
    <script src="../../static/assets/jquery/jquery.min.js"></script>
    <script src="../../static/assets/art-template/template.js"></script>
    <script src="../../static/js/config/config.js"></script>
    <script src="../../static/js/config/tools.js"></script>
    <script src="../../static/js/point/theme.js"></script>
</body>
</html>